﻿CREATE TABLE [dbo].[SanKitSetup] (
    [PrimaryKey]      SMALLINT     CONSTRAINT [DF_SanKitSetup_PrimaryKey] DEFAULT ((0)) NOT NULL,
    [LunaCurenta]     SMALLINT     CONSTRAINT [DF_SanKitSetup_LunaCurenta] DEFAULT ((0)) NOT NULL,
    [AnulCurent]      SMALLINT     CONSTRAINT [DF_SanKitSetup_AnulCurent] DEFAULT ((0)) NOT NULL,
    [CodUnitate]      SMALLINT     CONSTRAINT [DF_SanKitSetup_CodUnitate] DEFAULT ((0)) NOT NULL,
    [IDSerieChitanta] VARCHAR (20) NULL,
    CONSTRAINT [PK_SanKitSetup] PRIMARY KEY CLUSTERED ([PrimaryKey] ASC, [CodUnitate] ASC),
    CONSTRAINT [FK_SanKitSetup_Unitati] FOREIGN KEY ([CodUnitate]) REFERENCES [dbo].[Unitati] ([CodUnitate])
);

